package com.jcl.elasticsearch.core.entity.vo;

import com.jcl.core.utils.StringUtils;

import java.util.Date;

/**
 * @ClassName SearchResumeRecord
 * @Description TODO
 * @Author yyliu
 * @Date 2018/11/12 9:34
 * @Version 1.0
 **/
public class SearchResumeRecord {

    private String keyword;

    private String[] keywords;

    private String city;

    private String education;

    private Integer workYear;

    public String getKeyword() {
        return keyword;
    }

    public String[] getKeywords() {
        if(StringUtils.hasLength(keyword)){
            keywords = keyword.split(StringUtils.BLANK_SPACE);
        }
        return keywords;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public Integer getWorkYear() {
        return workYear;
    }

    public void setWorkYear(Integer workYear) {
        this.workYear = workYear;
    }


}
